
package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.SurveyAnswerUserEntity;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-11-12 20:02:45
*/
public interface SurveyAnswerUserModel extends IModel<SurveyAnswerUserEntity> {
	@Override
	Integer insert(SurveyAnswerUserEntity entity) throws XbbException;

	@Override
	Integer update(SurveyAnswerUserEntity entity) throws XbbException;

	@Override
	List findEntitys(Map<String, Object> param);

	@Override
	Integer getEntitysCount(Map<String, Object> param);

	Integer save(SurveyAnswerUserEntity entity) throws XbbException;

	void insertBatch(List<SurveyAnswerUserEntity> entityList) throws XbbException;

	Integer deleteByKey( Integer key,  String corpid) throws XbbException;

	SurveyAnswerUserEntity getByKey( Integer key,  String corpid) throws XbbException;
}

